//
//  CustomLayout.h
//  CollectionTest
//
//  Created by A on 2020/11/7.
//  Copyright © 2020 TyTeam. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN


@protocol CustomLaoutDelegate <NSObject>
- (CGFloat)getCellHeightForItemAtIndex:(NSInteger)index itemWidth:(CGFloat)itemWidth;


@end

@interface CustomLayout : UICollectionViewLayout
@property (nonatomic, weak) id<CustomLaoutDelegate> delegate;


@end

NS_ASSUME_NONNULL_END
